<div class="container">
  <section>
    <h2 class="clearfix">
      人员管理
      <div class="pull-right">
        <a ui-sref="app.admin-users-add">
          <small class="text-primary">
            <i class="fa fa-plus"></i>
            添加员工
          </small>
        </a>
      </div>
    </h2>
    <p>The delete user and user index api routes are restricted to users with the 'admin' role.</p>
    <ul class="list-group">
      <li class="list-group-item" ng-repeat="user in users">
        <a ui-sref="app.admin-users-edit({userId: user._id})"><strong>{{user.name}}</strong></a><br>
        <span class="text-muted">{{user.department.name}} {{user.role}}</span>
        <a ng-click="delete(user)" class="trash pull-right" tooltip="删除" href="">&nbsp;<span class="glyphicon glyphicon-trash"></span>&nbsp;</a>
      </li>
    </ul>

  </section>
</div>
